import service from '@/utils/request';

export const userTotal = () => {
    return service({
        url: '/UserApi/userInfo/getTotalUserInfo',
        method: 'get',
        
    })
};

export const userAccountList = () => {
    return service({
        url: '/UserApi/userInfo/getAccountList',
        method: 'get',
        
    })
};

export const userCertList = () => {
    return service({
        url: '/UserApi/userInfo/getCertList',
        method: 'get',
        
    })
};

export const addCert = (data) => {
    return service({
        url: '/UserApi/userInfo/addCert',
        method: 'POST',
        data: data
    })
};

export const generateCert = (data) => {
    return service({
        url: '/UserApi/userInfo/generateCert',
        method: 'POST',
        data: data
    })
};